package Unicart.applogic;

import Unicart.model.Item;
import Unicart.model.User;

public interface ItemHelper {

	boolean checkProductInBasket(Item item);
	boolean checkProductQuantity(Item item);
	void deleteProduct(Item item);
	void clickButtonDeleteProductFromBasket();
	void changeQuantity(Item item);
	
	boolean isRecommendedBlockPresent();
	void addRecommendedProduct(Item recommendedItem);
	void deleteRecommendedProductFromBasket(Item recommendedItem);
	boolean productShouldBeDisplayedInRecommended(Item recommendedItem);
	boolean productShouldBeDisplayedInBasket(Item recommendedItem);
	
	boolean isCouponBlockPresent();
	void activateDiscountCoupon(Item item);
	boolean isCouponApplyed();
	
	void selectСurrency(String value);
	void checkCurrency(String text);
	void selectRegion(User userPrivatePerson);
	
	void selectPhysicalType();
	void selectJuridicalType();
	void fillFormForPrivatePerson(User user_private_person);
	void fillFormForPrivatePersonKz(User userPrivatePerson);
	void fillFormForLegalPerson(User userLegalPerson);
	void selectOtherLicenseOwner();
	void selectOrderLicenseeTypeJuridical();
	void setPaymentMethod(User userPrivatePerson);
	void clickCheckboxAgreement();
	void saveOrderId();
	void checkOrderId();
		
	boolean checkErrorMessage();
	boolean checkErrorPaymentMethodBlock();
	
}
